package org.game.module.rolebo;

import com.sojoys.artifact.exception.AbstractLogicModelException;
import com.sojoys.artifact.factory.session.ISession;
import com.sojoys.artifact.core.IModule;
/** 
 * 精灵(版娘)
 */
public interface RoleBO extends IModule {
	byte classCode = 5;
	
	/** 取得全部精灵 [code = 1281] */
	short getRoles = 1281; 
	/** 赠送 [code = 1282] */
	short donate = 1282; 
	/** 推送精灵信息 [code = 1283] */
	short pushRole = 1283; // 推送类型
	/** 穿衣 [code = 1284] */
	short dress = 1284; 
	/** 切换精灵 [code = 1285] */
	short switchRole = 1285; 
	/** 更新精灵心情值 [code = 1286] */
	short updateRoleMood = 1286; // 推送类型
	/** 触摸看板娘 [code = 1287] */
	short touchRole = 1287; 
	/** 更换房间 [code = 1288] */
	short changeRoom = 1288; 
	/** 解锁房间 [code = 1289] */
	short unlockRoom = 1289; 
	
	
	/** 取得全部精灵 [code = 1281] */
	byte[] getRoles(ISession session) throws AbstractLogicModelException;
	
	/** 赠送 [code = 1282] */
	byte[] donate(ISession session, org.game.protobuf.c2s.C2SRoleMsg.Donate msg) throws AbstractLogicModelException;
	
	
	/** 穿衣 [code = 1284] */
	byte[] dress(ISession session, org.game.protobuf.c2s.C2SRoleMsg.Dress msg) throws AbstractLogicModelException;
	
	/** 切换精灵 [code = 1285] */
	byte[] switchRole(ISession session, org.game.protobuf.c2s.C2SRoleMsg.SwitchRole msg) throws AbstractLogicModelException;
	
	
	/** 触摸看板娘 [code = 1287] */
	byte[] touchRole(ISession session, org.game.protobuf.c2s.C2SRoleMsg.TouchRole msg) throws AbstractLogicModelException;
	
	/** 更换房间 [code = 1288] */
	byte[] changeRoom(ISession session, org.game.protobuf.c2s.C2SRoleMsg.ChangeRoom msg) throws AbstractLogicModelException;
	
	/** 解锁房间 [code = 1289] */
	byte[] unlockRoom(ISession session, org.game.protobuf.c2s.C2SRoleMsg.UnlockRoom msg) throws AbstractLogicModelException;
	
}